Fravia's TOOLS OF OUR TRADE Messageboard ~ Moderated
Re: Re: Re: wait a minute
Tuesday, 16-Feb-99 02:27:14
> The same job is required...an INT 03 after each instruction, with a
> logger. You will end up getting every address ever accessed
> in the program...of course you could post-process to provide ranges
> etc of which addresses are called the most,
A nice way to do such a tool on Pentium+ would be to set the BTF bit in the DebugCtlMSR, so that INT01 is triggered by branching instead of single instruction execution. Then you immediately get the ranges ; you can also store the last 2 or 3 taken branchs EIP to detect loops.
Best Regards,
+Spath.
+Spath.